IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'PREGASE\lrigal')
CREATE LOGIN [PREGASE\lrigal] FROM WINDOWS
GO
CREATE USER [PREGASE\lrigal] FOR LOGIN [PREGASE\lrigal] WITH DEFAULT_SCHEMA=[PREGASE\lrigal]
GO
